automatically "shut down now" after a period of time
I occasionally restart my windows 7 remotely from VNC The problem is that some time its stop on the shutdown window because of some application didn’t terminated (where the button "shut down now" is located) and then I'm stuck… Example: http://www.codeguru.com/dbfiles/get_image.php?id=12967&lbl=NICK1_GIF&ds=20061206 Can I configure windows 7 somehow to automatically force the application to close (like when you use "shut down now") after a period of time? Is there a timeout configuration somewhere?
July 1st, 2010 11:19am

Hi, You can open regedit.exe, natigate to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control, double-click WaitToKillServiceTimeout in the right pane, change the value to 1000 (milliseconds), and click OK. Regards,Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
July 5th, 2010 12:28pm

Hi, You can open regedit.exe, natigate to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control, double-click WaitToKillServiceTimeout in the right pane, change the value to 1000 (milliseconds), and click OK. Regards, Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ” it's already configured by default to 12000 this setting close only services and not applications
July 5th, 2010 5:34pm

You can use command, check if this add some tips: http://technet.microsoft.com/en-us/library/cc780360(WS.10).aspxPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
July 6th, 2010 10:55am

Yes use the shutdown command with the /F (force) optionMVP Setup and Deployment - http://www.forum-microsoft.org
July 6th, 2010 12:01pm

Magon Liu, can I also use this method for the auto shut down command Microsoft programmed in the root menu in the RC version of windows 7 to disable the 2 hour shut-down after the expiration date.John Haskins
Free Windows Admin Tool Kit Click here and download it now
July 18th, 2010 6:38am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics